#ifndef TELEPORTTRIGGER_H
#define TELEPORTTRIGGER_H

#include "BaseTrigger.h"

/*
*/
class TeleportTrigger : public BaseTrigger
{
    public:
        TeleportTrigger(const Vector2df p, const Vector2df s);
        TeleportTrigger(const Vector2df p, const Vector2df s, CRstring parameter);
        ~TeleportTrigger();

        virtual void hit(const SimpleDirection dir, BaseUnit* player, CRstring parameter="");
        virtual void setState(){};

    protected:
    	Vector2df destination;
        void customUpdate();
    private:
};

#endif // TELEPORTTRIGGER_H

